home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / mlib / examples / example1.mak < prev    next >
Encoding:
Text File  |  1994-04-15  |  1.1 KB  |  97 lines

  1. .AUTODEPEND
  2.  
  3. #        *Translator Definitions*
  4. CC = bcc +EXAMPLE1.CFG
  5. TASM = TASM
  6. TLIB = tlib
  7. TLINK = tlink
  8. LIBPATH = C:\BORLANDC\LIB;C:\MIKE\MLIB\LIB
  9. INCLUDEPATH = C:\BORLANDC\INCLUDE;C:\MIKE\MLIB\INCLUDE
  10.  
  11.  
  12. #        *Implicit Rules*
  13. .c.obj:
  14.   $(CC) -c {$< }
  15.  
  16. .cpp.obj:
  17.   $(CC) -c {$< }
  18.  
  19. #        *List Macros*
  20.  
  21.  
  22. EXE_dependencies =  \
  23.  example1.obj \
  24.  {$(LIBPATH)}mmem.lib \
  25.  {$(LIBPATH)}mtypes.lib \
  26.  {$(LIBPATH)}mio.lib \
  27.  {$(LIBPATH)}mimage.lib \
  28.  {$(LIBPATH)}mgraph.lib
  29.  
  30. #        *Explicit Rules*
  31. example1.exe: example1.cfg $(EXE_dependencies)
  32.   $(TLINK) /v/x/n/c/d/P-/C/Vt/L$(LIBPATH) @&&|
  33. c0l.obj+
  34. example1.obj
  35. example1
  36.         # no map file
  37. mmem.lib+
  38. mtypes.lib+
  39. mio.lib+
  40. mimage.lib+
  41. mgraph.lib+
  42. emu.lib+
  43. mathl.lib+
  44. cl.lib
  45. |
  46.  
  47.  
  48. #        *Individual File Dependencies*
  49. example1.obj: example1.cfg example1.cpp 
  50.  
  51. #        *Compiler Configuration File*
  52. example1.cfg: example1.mak
  53.   copy &&|
  54. -R
  55. -ml
  56. -3
  57. -a
  58. -K
  59. -v
  60. -G
  61. -O
  62. -Og
  63. -Oe
  64. -Om
  65. -Ov
  66. -Ol
  67. -Op
  68. -Oi
  69. -Vp
  70. -Z
  71. -k-
  72. -d
  73. -h
  74. -b-
  75. -vi-
  76. -Vf
  77. -wbbf
  78. -wpin
  79. -wamb
  80. -wamp
  81. -w-par
  82. -wasm
  83. -wpro
  84. -wcln
  85. -wnod
  86. -w-aus
  87. -wstv
  88. -wuse
  89. -weas
  90. -w-hid
  91. -wpre
  92. -I$(INCLUDEPATH)
  93. -L$(LIBPATH)
  94. | example1.cfg
  95.  
  96.  
  97.